<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="../Public/css/login1.css"/>
<link rel="stylesheet" type="text/css" href="../Public/css/golbal1.css"/>
<js href="__PUBLIC__/Js/Jquery/jquery-1.4.4.min.js" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录</title>
<script language="JavaScript">
if (window != top) top.location.href = location.href; 
function changeVerify(){
var timenow = new Date().getTime();
 document.getElementById('verifyImg').src='__URL__/verify/'+timenow; 
}
</script>
</head>
<body>
<div class="login_w">


<div class="logo"><a href="{:U('Index/index')}"><img src="../Public/images/logo1.jpg" /></a></div> 


<div class="container">
<div class="login_l"><img src="../Public/images/leftimg.jpg" /></div>

<div class="login_r">
<form action="{:U('User/login',array('type'=>$type,'vid'=>$vid))}" method="POST">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan="4" style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<tr>
<th height="65">用户名：</th>
<td colspan="2"><input maxlength="16" type="text" id="uname" name="username"/></td>
</tr>
<tr>
<th height="65">密 码：</th>
<td colspan="2"><input maxlength="16" type="password" id="passwd" name="password" /></td>
</tr>
<tr>
<th height="65">验证码：</th>
<td><input type="text" maxlength="4"  name="verify"  /></td>
<td class="codeimg"><img style="margin-left:5px;" height="34px" onClick="changeVerify()" title="点击刷新验证码" src='__URL__/verify' id='verifyImg'/></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="javascript:void(0);" onClick="changeVerify()">看不清，换一个</a></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>

<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td class="tbt"><input type="submit" class="login_bt" value="登 录"/><a href="{:U('User/reg')}"><input type="button" class="reg_bt" onclick="window.location.href='{:U('User/reg')}'" value="注 册"/></a></td>
<td><a href="{:U('user/findpassword')}">忘记密码</a></td>
</tr>
</tbody>
</table>
</form>
</div>
<div class="clear"></div>
</div>
 </div>
<div class="footer" >
<volist id="atlist" name="artlist" key="k">
<a href="{:U('Article/banquan',array('arid'=>$atlist['arid']))}">{$atlist.artitle}</a><if  condition="$artnum neq $k">&nbsp;|&nbsp;</if>
</volist>
<p>版权信息</p>
</div>
</body>
</html>